﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?php if(Misc::isLogged() == false):?>
				<?PHP 
				$this->login = new Zend_view();
				$this->login->addBasePath(APPLICATION_PATH . '/views/');
				echo $this->login->render('login/index.phtml');
				?>
<?php else:?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>WCA Sites</title>
    <link rel="stylesheet" type="text/css" href="/admin/css/reset.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/admin/css/text.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/admin/css/grid.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/admin/css/layout.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/admin/css/nav.css" media="screen" />
    <link href="/admin/css/gallery.css" rel="stylesheet" type="text/css" />
    <link href="/admin/css/facebox.css" rel="stylesheet" type="text/css" />
    <link href="/admin/css/tabs.css" rel="stylesheet" type="text/css" />
    <!--[if IE 6]><link rel="stylesheet" type="text/css" href="/admin/css/ie6.css" media="screen" /><![endif]-->
    <!--[if IE 7]><link rel="stylesheet" type="text/css" href="/admin/css/ie.css" media="screen" /><![endif]-->
    <!--[if lt IE 7]>
  		<div class='aligncenter'><a href="http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_us.jpg"border="0"></a></div>  
 	<![endif]-->
<!--[if lt IE 9]>
   		<script src="/admin/js/html5.js"></script>
  		<link rel="stylesheet" href="/admin/css/ie.css"> 
	<![endif]-->
	<!-- BEGIN: load jquery -->
    <script src="/admin/js/jquery-1.6.4.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="/js/acoes.js"></script>
    <script type="text/javascript" src="/admin/js/jquery-ui/jquery.ui.core.min.js"></script>
    <script src="/admin/js/jquery-ui/jquery.ui.widget.min.js" type="text/javascript"></script>
    <script src="/admin/js/jquery-ui/jquery.ui.accordion.min.js" type="text/javascript"></script>
    <script src="/admin/js/jquery-ui/jquery.effects.core.min.js" type="text/javascript"></script>
    <script src="/admin/js/jquery-ui/jquery.effects.slide.min.js" type="text/javascript"></script>
    <!-- END: load jquery -->
    <script src="/admin/js/popup/jquery.facebox.js" type="text/javascript"></script>
    <script src="/admin/js/quick-sand/jquery.quicksand.js" type="text/javascript"></script>
    <script src="/admin/js/setup.js" type="text/javascript"></script>
    <script type="text/javascript">

        $(document).ready(function () {
            setupGallery();
            setupLeftMenu();
			setSidebarHeight();

        });
    </script>
</head>
<body>
    <div class="container_12">
        <div class="grid_12 header-repeat">
            <div id="branding">
                <div class="floatleft branco">
                    <img src="/admin/img/logo.png" alt="Logo" /></div>
                <div class="floatright">
                    <div class="floatleft">
                        <img src="/admin/img/img-profile.jpg" alt="Profile Pic" /></div>
                    <div class="floatleft marginleft10">
                        <ul class="inline-ul floatleft">
                            <li>Olá Admin</li>
                            <li><a href="<?php echo 'http://' . $_SERVER['HTTP_HOST'];?>/login/logout">Sair</a></li>
                        </ul>
                       
                    </div>
                </div>
                <div class="clear">
                </div>
            </div>
        </div>
        <div class="clear">
        </div>
        <br />
        <div class="grid_2">
		<br />
		
            <div class="box sidemenu">
                <div class="block" id="section-menu">
                    <ul class="section menu">
                        <li><a class="menuitem">Menu</a>
                            <ul class="submenu">
                                <li><a href="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . '/admin/banner' ?>">Banner</a> </li>                                 
                                <li><a href="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . '/admin/produto' ?>">Produtos</a> </li>                                 
                                <li><a href="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . '/admin/ambientes' ?>">Ambientes</a> </li>                                 
                                <li><a href="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . '/admin/tendencias' ?>">Projetos</a> </li>                                 
								<li><a href="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . '/admin/preferencias' ?>">Alterar Dados</a> </li>                                
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="grid_9">
            <div class="box round first">
                    <div class="block">
					<?php echo $this->layout()->content; ?>
                </div>
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
    <div class="clear">
    </div>
    <div id="site_info">
        <p>
            WCA Sites e Sistemas - 2013
        </p>
    </div>
</body>
</html>
<?php endif;?>
